<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>员工详情-</title>
<link rel="stylesheet" type="text/css" href="css/css.css" />
<style>
td{
	border:none;
}
.td{
	font-size: 16px;
	border:none;
	text-align:right;
}
.p{
	margin-left:16px;
	font-size: 16px;
	border:none;
	text-align:left;
}
#button{
	margin-top:20px;
	border-radius:20px;
	margin-left: 10px;
	width: 135px;
	height: 40px;
	border: none;
	font-size: 16px;
	color: #fff;
	background-color: #47a4e1;
}
</style>
<script type="text/javascript" src="js/jquery.min.js"></script>

</head>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="img/coin02.png" /><span><a href="main.do">首页</a>&nbsp;-&nbsp;
				<a href="empinfo.do">员工管理</a>&nbsp;-</span>&nbsp;员工查看
			</div>
		</div>
		<div class="page ">
			<!-- 上传广告页面样式 -->
			<div class="banneradd bor">
				<form action="empinfo.do" method="post">
					<div class="baTopNo">
						<span>基本信息</span>
						<hr/>
					</div>
					<div class="baBody" >
						<table style="border:none;margin:0px;padding:0px;line-height:40px">
							<tr class="bbD" >
								<td class="td">部门：</td><td><p class="p">${sessionScope.emp.dept.name}</p></td>				
							</tr>
							<tr class="bbD">
								<td class="td">员工姓名：</td><td><p class="p">${sessionScope.emp.empname }</p></td>
							</tr>
							<tr class="bbD" >
								<td class="td">员工工号：</td><td><p class="p">${sessionScope.emp.number }</p></td>
							</tr>
							<tr class="bbD">
								<td class="td">岗位名称：</td><td><p class="p">${sessionScope.emp.position.name }</p></td>
							</tr>
							<tr class="bbD">
								<td class="td">岗位职责：</td>
								<td class="btext2">
									<p class="p">${sessionScope.emp.duty }</p>
								</td>
							</tr>
							<tr class="bbD">
								<td class="td">性别：</td>
								<td>
									<p class="p"><c:if test="${sessionScope.emp.sex==0 }">女</c:if>
									<c:if test="${sessionScope.emp.sex==1 }">男</c:if></p>
								</td>	
							</tr>
							<tr class="bbD">
								<td class="td">工作电话：</td><td><p class="p">${sessionScope.emp.tel}</p></td>
							</tr>
							<tr class="bbD">
								<td class="td">手机号码：</td><td><p class="p">${sessionScope.emp.phone}</p></td>
							</tr>
							<tr class="bbD">
								<td class="td">邮箱：</td><td><p class="p">${sessionScope.emp.email}</p></td>
							</tr>
							<tr class="bbD">
								<td class="td">工作QQ：</td><td><p class="p">${sessionScope.emp.qq}</p></td>
							</tr>
							<tr class="bbD">
								<td class="td">短号：</td><td><p class="p">${sessionScope.emp.shortnumber}</p></td>
							</tr>
							<tr class="bbD">
								<td class="td">是否经办人：</td>
								<td>
									<p class="p"><c:if test="${sessionScope.emp.allot==0 }">否</c:if>
									<c:if test="${sessionScope.emp.allot==1 }">是</c:if></p>
								</td>
							</tr>
						</table>
							<input type="submit" value="关闭" id="button"/>							
					</div>
				</form>		
			</div>
			<!-- 上传广告页面样式end -->
		</div>
	</div>
	
</body>
</html>